import pyautogui
pyautogui.hotkey('alt','tab')
x=1000
pyautogui.moveTo(x, 457)
for i in range(10):
    pyautogui.scroll(-1000000)

for i in range(5):
    pyautogui.moveTo(x, 457)
    pyautogui.dragTo(x + x, 100, 0.5, button='left')

# pyautogui.moveTo(x, 457)
# pyautogui.dragTo(x + 350, 457, 0.5, button='left')

# for i in range(5):
#     pyautogui.moveTo(x+300, 600)
#     pyautogui.scroll(100)